package com.checkchan.ethshare.service.share;

import com.checkchan.ethshare.model.AccountInfo;
import com.checkchan.ethshare.model.ConfereeInfo;
import com.checkchan.ethshare.model.ShareModel;

import java.util.List;

public interface ShareService {

    //获取分享活动总数
    public int getShareCount();

    //分页获取所有分享
    public List<ShareModel>  getShares(int pageIndex, int pageSize);

    //获取参加分享者的信息
    public List<ConfereeInfo> getConfereeInfo(int shareIndex);

    //发起一个分享
    public void raiseShare(String desc);


    //提交提交分享的分数
    public void gradeShare(int index,int score);
}
